import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Page1 from '@/components/Page1'
import Page2 from '@/components/Page2'
import Page3 from '@/components/Page3'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },{
      path: '/page1',
      name: 'page1',
      component: Page1
    },{
      path: '/page2',
      name: 'page2',
      component: Page2
    },{
      path: '/page3',
      name: 'page3',
      component: Page3
    }
  ]
})
